// import "./css/main.css";
// import "./css/ligw.scss";
import "@page/index/zen_init.css";
import "@root/css/main.css";
import App from "./router/OMSRouter";
import ReactDOM from "react-dom";
import pageInit from "@module/pageInit.js";
import ZenModal from "@module/../components/ZenUI/ZenModal/ZenModal";
import ZenUI from "@module/../components/ZenUI/ZenUI";
// 2. Plugins
// app.use({});

// 3. Model

// 4. Router
console.log("OMSIndex.js");
//全局配置
const orgId = Uts.getCookie("orgId");

global.hasLogin = orgId ? true : false;

function Content() {
	return (
		<React.Fragment>
			<App />
			<ZenModal.initModal />
		</React.Fragment>
	);
}

ReactDOM.render(<Content />, document.getElementById("reactRoot"));

// 5. Start
